package com.qfmy.model.entity.ai;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 消息实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Message {
    @Schema(description = "消息ID")
    private Integer messageId;
    
    @Schema(description = "发送者ID")
    private Integer senderId;
    
    @Schema(description = "接收者ID")
    private Integer receiverId;
    
    @Schema(description = "消息内容")
    private String content;
    
    @Schema(description = "消息类型，0:文本，1:图片，2:语音，3:视频，4:文件")
    private Integer type;
    
    @Schema(description = "发送时间")
    private Date sendTime;
    
    @Schema(description = "消息状态，0:未读，1:已读，2:已删除")
    private Integer status;
    
    @Schema(description = "是否删除，0:未删除，1:已删除")
    private Integer isDeleted;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
}